<?
   $products = Products();
   $tutorials = new TemplateTutorials();
   $cat_tut = $tutorials->ListCatTutorials();
?>
<div class="pageFoot_wrap">
   <div class="pageFoot w1130">
      <div class="f_product">
         <p class="f_product_title">Sản Phẩm</p>
         <?
            foreach($products as $row){
         ?>
            <div class="product_once">
               <a href="<?=generate_product_detail_url($row)?>"><img alt="<?=$row['pro_name']?>" src="<?=PATH_PICTURE_PRODUCT.$row['pro_image_tiny']?>"/></a>
               <div class="product_description">
                  <a href="<?=generate_product_detail_url($row)?>"><p class="product_name" title="<?=$row['pro_name']?>"><?=$row['pro_name']?></p></a>
                  <p class="product_summary" title="<?=$row['pro_title']?>"><?=$row['pro_title']?></p>
               </div>
            </div>
            <p class="p_line"></p>
         <?
            }
         ?>
         <a href="/phan-mem/" class="view_all"><span class="view_all_text">Xem tất cả </span><span class="arrow"></span></a>
      </div>
      <div class="f_bar">
      <?
      foreach($cat_tut as $cat_tut_item) {
        ?>
        <div class="f_introduction">
            <a href="<?=generate_tutorials_cat_url($cat_tut_item)?>"><p class="f_introduction_title"><?=$cat_tut_item['cat_name']?></p></a>
            <?
            $detail_tut = $tutorials->ListTutorials($cat_tut_item['cat_id'],2);
            foreach($detail_tut as $detail_tut_item) {
                ?>
                <p><a href="<?=generate_tutorials_detail_url($detail_tut_item)?>"><?=cut_string($detail_tut_item['tut_title'],50)?></a></p>
                <?
            }
            ?>
         </div>
        <?
      }
      ?>
         
      </div>
      <div class="f_contact">
         <a href="/"><div class="logo"></div></a>
         <div class="pageName">
            <a href="/"><p>MassSEO<span>.vn</span></p></a>
         </div>
         <ul class="f_contact_bar">
            <li><a href="#">Giới thiệu</a></li> <li>.</li> <li><a href="#">Bảo mật</a></li> <li>.</li> <li><a href="#">Quy định</a></li>
         </ul>
         <p class="about_me">
            Phần mềm Marketing Online hiệu quả.
         </p>
         <p class="support_and_transaction">HỖ TRỢ VÀ GIAO DỊCH</p>
         <p class="area">.Văn phòng Miền Bắc</p>
         <div class="north_contact"><p>Mobile: 0969.925.246 - Mr Công</p>
            <!--<p>12 Xuân Thủy - Cầu Giấy - Hà Nội</p>-->
            <p>Email: support@massseo.vn - MassSEO.vn</p>			
         </div>
         <p class="area">. Văn phòng Miền Nam</p>
         <div class="north_contact"><p>Mobile: 0906 081 081 - 08 2200 5616</p>
            <p>62-64 Đường Số 7, Khu Phố 2, P. An Lạc, Q. Bình Tân,HCM</p>
            <p>Email: support@massseo.vn - MassTEAM.vn</p>				
         </div>
         <!--<div class="sudo">
            <div class="logo_sudo">
               <a href="#"><img src="../themes/img/logo_sudo.png"/></a>
            </div>
            <p class="by_sudo_en">WEB DESIGN BY SUDO.VN</p>
            <p class="by_sudo_vn">Một sản phẩm của Sudo Team</p>
         </div>-->
         <p class="massseo_copyright">Copyright © massSEO.com All rights reserved</p>
      </div>
   </div>
</div>